package cn.ibdsr.human.constant;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: lvyou
 * @description: 文章段落类型
 * @date: 2020-03-31
 * @lastModified:
 *
 * Date           Author               Description
 * ------------------------------------------------------
 * 2020-03-31     lvyou                修改记录
 */
public enum SectionTypeEnum {

    /**
     * 1 文本
     */
    TEXT(1,"文本"),
    /**
     * 2 图片
     */
    PIC(2,"图片"),
    /**
     * 3 音频
     */
    MEDIA(3,"音频"),
    /**
     * 4 视频
     */
    VIDEO(4,"视频"),
    ;

    /**
     * 状态值
     */
    @Setter
    @Getter
    private byte type;
    /**
     * 状态描述
     */
    @Setter
    @Getter
    private String desc;


    private SectionTypeEnum(int type, String desc){
        this.type = (byte)type;
        this.desc= desc;
    }


}
